// pages/mine/store_admin/express.js
Page({

  data: {    order:{},express:[],str:''

  },

  onLoad: function (options) {
     console.log(options.code);
     this.getwuliu(options.code)
     
  },
     getwuliu(code){
       wx.request({
         url: 'https://zujieba.com/Api/shareradminorder/express.html',
         data:{code:code},
         success:(res)=>{
           console.log(res);
           let order=res.data.data.order
           console.log(order);
           if(res.data.data.success == 1){
              let express=res.data.data.data 
              this.setData({
                  order,
                  express
              }) 
           }else{
            this.setData({
              order,
              str:res.data.data.data.message
          }) 
           }
                   
         }
       })
     }
 
})